@import "@/common.less";

.container.index {
  width: 100%;
  box-shadow: 0px 10px 5px -3px #efefef;
  margin: 0 auto;
  background-color: #fff;
  z-index: 1;
  position: relative;
}
.header {
  display: flex;
  position: relative;
  justify-content: space-around;
  height: 76px;
  padding: 18px 0;
  width: 1200px;
  margin: 0 auto;
  background-color: white;

  .area {
    width: 7%;
    min-width: 100px;
    font-size: 13px;
    padding-top: 8px;
    .city {
      color: #5a5a5a;
      padding-left: 5px;
    }
    .select {
      color: @primary-color;
      cursor: pointer;
    }
  }
  .nav {
    min-width: 500px;
    display: flex;
    div {
      text-align: center;
    }
    .nav-box {
      cursor: pointer;
      width: 20%;
      .nav-box-title {
        display: inline-block;
        text-align: center;
        margin: 0 auto;
        padding: 10px 0;
        height: 100%;
      }
    }
    .active {
      border-bottom: 3px solid @primary-color;
      color: @primary-color;
    }
  }
  .user {
    width: 95px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
  }
  .user-info {
    position: absolute;
    top: 80px;
    right: 0;
    background-color: white;
    z-index: 300;
    font-size: 14px;
    width: 240px;
    border-radius: 3px;
  }
  .box-title {
    color: black;
    font-size: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f1f1;
  }
  .vertical-line {
    height: 18px;
  }
  .box-center {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    .box-item {
      padding-bottom: 15px;
      img {
        padding-right: 10px;
        position: relative;
        top: 4px;
      }
    }
  }
  .box-footer {
    padding: 15px 20px;
    div {
      cursor: pointer;
    }
  }
}
.search {
  input[type="text"] {
    padding-left: 35px; /* 为了给图标留出空间 */
    background-image: url("/svg/search.svg"); /* 图标的路径 */
    background-position: 10px center; /* 图标放置在右侧 */
    background-repeat: no-repeat; /* 防止图标重复显示 */
    width: 200px;
    border: none;
    background-color: #f4f4f4;
  }
  input::placeholder {
    font-size: 13px;
  }
}
.modal {
  padding: 10px 20px;
  position: relative;
  h4 {
    font-size: 22px;
    padding: 20px 0;
    text-align: center;
  }
  .mobile {
    padding-left: 35px; /* 为了给图标留出空间 */
    background-image: url("/svg/mobile.svg"); /* 图标的路径 */
    background-position: 5px center; /* 图标放置在右侧 */
    background-repeat: no-repeat; /* 防止图标重复显示 */
    width: 100%;
    border: none;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 40px;
  }
  .code {
    padding-left: 35px; /* 为了给图标留出空间 */
    background-image: url("/svg/code.svg"); /* 图标的路径 */
    background-position: 5px center; /* 图标放置在右侧 */
    background-repeat: no-repeat; /* 防止图标重复显示 */
    width: 100%;
    border: none;
  }
  .flex {
    justify-content: space-between;
  }
  .code-right {
    width: 100px;
    display: block;
    position: relative;
    top: 10px;
    cursor: pointer;
    color: @primary-color;
  }
  .box-code {
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 30px;
  }
  button {
    width: 100%;
    margin-bottom: 15px;
  }
  .tag {
    color: #666666;
    div {
      cursor: pointer;
    }
    div:hover {
      color: @primary-color;
    }
  }
  .protocol {
    color: @primary-color;
    cursor: pointer;
  }
  .footer {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 50px;
  }
}
.close {
  position: absolute;
  right: -40px;
  top: 0;
  cursor: pointer;
}
.area-box {
  position: absolute;
  width: 592px;
  height: 322px;
  left: -60px;
  background-image: url("/svg/areaBox.svg");
  background-color: white;
  z-index: 10;
  border-radius: 11px;
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  font-size: 14px;
}
.area-item {
  display: flex;

  max-width: 50%;
  flex-wrap: wrap;
  .num {
    padding: 7px 5px;
  }
  .province-item {
    padding: 7px 10px;
    cursor: pointer;
  }
  .province-item:hover {
    color: @primary-color;
  }
  .wrap {
    margin-left: 20px;
  }
  // .province-item:nth-child(5){
  //   padding-left: 20px;
  // }
}
